<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page language="java" import="java.util.Date"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add Access</title>
<link rel="stylesheet" type="text/css" href="common/css/register.css">
<script type="text/javascript"
	src="https://code.jquery.com/jquery-1.11.3.js">
	
</script>
<script type="text/javascript">
	var acesssDeleteFlag = [ "false", "true"];
	
	$(document).ready(function search() {
		$.each()		
	})
	
</script>
</head>
<body>








	<div class="htmleaf-container">
		<div class="wrapper">
			<div class="container">
				<h1>Welcome</h1>

				<form class="form" id="regist" action="addAccess.action"
					method="POST">
					<div class="list">
						<label class="usertitle">Access&nbsp;&nbsp;Name:</label> <input
							type="text" name="accessName" class="userinput" required="true"
							placeholder="Please input AccessName" validate="require"
							data-validate-text="This field is required.">
					</div>

					<div class="list">
						<label class="input-title">Access&nbsp;&nbsp;ParentId:</label> <input
							type="number" name="accessParentId" class="userinput"
							id="accessParentId" placeholder="Please input accessParentId"
							data-validate-text="Please enter a valid number.">
					</div>

					<div class="list">
						<label class="input-title">Model&nbsp;&nbsp;Id:</label> <input
							type="number" name="modelId" id="ModelId" class="userinput"
							placeholder="Please input ModelId"
							data-validate-text="Please enter a valid number." />
					</div>

					<div class="list">
						<label class="input-title">Acesss&nbsp;&nbsp;DeleteFlag:</label> <input
							type="text" name="acesssDeleteFlag" id="acesssDeleteFlag"
							class="userinput" placeholder="Please input acesssDeleteFlag" />

					</div>

					<!-- <div class="list">
						<label class="input-title">Acesss&nbsp;&nbsp;DeleteFlag:</label> <span
							style="font-size: 18px;"><select id="acesssDeleteFlag"
							name="acesssDeleteFlag" class="userinput">
								<option value="false">False</option>
								<option value="true">True</option>
						</select> </span>
					</div>
 -->
					<div class="list">
						<label class="input-title">accessCreater:</label> <input
							type="text" name="accessCreater" id="accessCreater"
							required="true" class="userinput"
							placeholder="Please input accessCreater" />
					</div>

					<div class="list">
						<label class="input-title">accessCreateTime:</label> <input
							type="text" name="accessCreateTime" id="accessCreateTime"
							class="userinput"
							value="<%out.print(new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
					.format(new Date()));%>"
							validate="isDate" data-validate-text="" />
					</div>

					<!-- <div class="list">
						<label class="input-title">accessModifier:</label> <input
							type="text" name="accessModifier" id="accessModifier"
							readonly="readonly" class="userinput"
							 placeholder="No accessModifier" />
					</div>

					<div class="list">
						<label class="input-title">accessModifyTime:</label> <input
							type="text" name="accessModifyTime" id="accessModifyTime"
							readonly="readonly"class="userinput" 
							placeholder="No accessModifyTime"
							validate="isDate" data-validate-text="" />
					</div> -->


					<button type="submit" class="btn1" id="submit1">Submit</button>
					<button type="button" class="btn2" id="back"
						onclick="window.location='searchAccessList.action'">Return</button>

				</form>
			</div>
		</div>
	</div>

</body>
</html>